import App from './App'

import api from "./http/api.js"
import base from './http/baseUrl.js'
import rule from './http/request.js'
// import store from './store';
import uiEcharts from '@/uni_modules/ui-echarts'
Vue.use(uiEcharts)
 
Vue.prototype.$rqt = api;
Vue.prototype.$base = base;
Vue.prototype.$rule = rule;
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif